package entity.vo;

import entity.myEnum.Status;

import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import java.util.Date;

public class AppointmentsData {
    /**
     * 预约ID，主键
     */
    private Integer id;

    private Integer doctorsId;
    /**
     * 预约日期
     */
    private Date datetime;
    /**
     * 预约状态，枚举类型
     */
    @Enumerated(EnumType.STRING)
    private Status status;

    /**
     * 所属科室
     */
    private String department;
    /**
     * 医生职称
     */
    private String title;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDoctorsId() {
        return doctorsId;
    }

    public void setDoctorsId(Integer doctorsId) {
        this.doctorsId = doctorsId;
    }

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
